001 package net.sf.xdc.processing;
002
003 /*
004 * Copyright 2005-2006 Jens Voß.
005 *
006 * Licensed under the GNU Lesser General Public License (the "License");
007 * you may not use this file except in compliance with the License.
008 * You may obtain a copy of the License at
009 *
010 * http://opensource.org/licenses/lgpl-license.php
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 */
018
019 /**
020 * This class is used in the process of assembling the set of source files
021 * to which the XDC application is to be applied.
022 *
023 * @author Jens Voß
024 * @since 0.5
025 * @version 0.5
026 */
027 public interface FileAction {
028
029 /**
030 * The <code>execute</code> method is used to either include or exclude a
031 * potential XML source file from the XDC tool.
032 *
033 * @param xdcSource The XML source file to be included in or excluded from
034 * the XDC tool
035 */
036 void execute(XdcSource xdcSource);
037
038 }